package com.luoguijia.disk;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan({
        "com.luoguijia.disk.files.repository",
        "com.luoguijia.disk.login.repository",
        "com.luoguijia.disk.role.repository",
        "com.luoguijia.disk.user.repository",
        "com.luoguijia.disk.share.repository",
        "com.luoguijia.disk.files.repository",
        "com.luoguijia.disk.recycle.repository"}) // 添加这行

public class DiskApplication {

    private  static Logger logger = LogManager.getLogger("DiskApplication");

    public static void main(String[] args) {
        logger.info("start DiskApplication");
        SpringApplication.run(DiskApplication.class, args);
    }





















}
